#!/bin/sh
#set -n
#set -x
flogin=$1
user=${flogin%%@*}
host=${flogin##*@}
cmd="$2"
#echo parms=$*
bcmd="ssh -i ~/.ssh/$user@$host-ida_dsa $flogin '$cmd'"
if [ -f /bin/tcsh ] ; then
	bcmd="tcsh -m -ic '$bcmd'"
fi
eval $bcmd
